/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm.clinica.com.dao;

import org.orm.*;
import orm.clinica.com.*;

public interface PacienteDAO {
	public Paciente loadPacienteByORMID(String rut) throws PersistentException;
	public Paciente getPacienteByORMID(String rut) throws PersistentException;
	public Paciente loadPacienteByORMID(String rut, org.hibernate.LockMode lockMode) throws PersistentException;
	public Paciente getPacienteByORMID(String rut, org.hibernate.LockMode lockMode) throws PersistentException;
	public Paciente loadPacienteByORMID(PersistentSession session, String rut) throws PersistentException;
	public Paciente getPacienteByORMID(PersistentSession session, String rut) throws PersistentException;
	public Paciente loadPacienteByORMID(PersistentSession session, String rut, org.hibernate.LockMode lockMode) throws PersistentException;
	public Paciente getPacienteByORMID(PersistentSession session, String rut, org.hibernate.LockMode lockMode) throws PersistentException;
	public Paciente[] listPacienteByQuery(String condition, String orderBy) throws PersistentException;
	public Paciente[] listPacienteByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Paciente[] listPacienteByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Paciente[] listPacienteByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Paciente loadPacienteByQuery(String condition, String orderBy) throws PersistentException;
	public Paciente loadPacienteByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Paciente loadPacienteByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Paciente loadPacienteByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Paciente createPaciente();
	public boolean save(orm.clinica.com.Paciente paciente) throws PersistentException;
	public boolean delete(orm.clinica.com.Paciente paciente) throws PersistentException;
	public boolean deleteAndDissociate(orm.clinica.com.Paciente paciente) throws PersistentException;
	public boolean deleteAndDissociate(orm.clinica.com.Paciente paciente, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.clinica.com.Paciente paciente) throws PersistentException;
	public boolean evict(orm.clinica.com.Paciente paciente) throws PersistentException;
	public Paciente loadPacienteByCriteria(PacienteCriteria pacienteCriteria);
	public Paciente[] listPacienteByCriteria(PacienteCriteria pacienteCriteria);
}
